From: Lars Ingebrigtsen Date: Thu, 26 Sep 2019 17:51:23 +0000 (+0200) Subject: mm-possibly-verify-or-decrypt should only issue errors when decrypting X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~1808 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c4e0ccd151a29f87bd674a5987f731a0da491692;p=emacs.git mm-possibly-verify-or-decrypt should only issue errors when decrypting * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Only do the warning about failed decryption when we're handing encrypted parts, not when doing verification. --- diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 42bf5f8081c..d9c14120c2f 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el @@ -1745,6 +1745,7 @@ If RECURSIVE, search recursively." (let ((info (get-text-property 0 'gnus-info (car mm-security-handle)))) (if (or (not info) (equal info "") + (equal subtype "encrypted") (member "OK" (split-string info "\n"))) parts ;; We had an error during decryption. Report what it is.